package com.woniuxy.yoga.admin.model.form.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("取得资源权限参数对象")
public class ReResourceRelationForm {
    @ApiModelProperty("角色ID")
    @NotNull
    private Integer roleId;
    @ApiModelProperty("资源ID")
    @NotNull
    private Integer resourceId;
}
